public class Animal {
    public void makeSound() {
        System.out.println("动物发出声音");
    }

    public void move(int distance) {
        System.out.println("动物移动了" + distance + "米");
    }
}